<!DOCTYPE html>
<html lang="en">
<head>
    {include file="common/head"}
 <style>
.text-content-pc {width: 700px;margin: 5px auto 0;}
.text-title {font-size: 34px;line-height: 1.5;}
.text-addons {font-size: 0;color: #9EACB6;margin-bottom: 26px;}
.text-addons span {font-size: 12px;vertical-align: middle;}
.text-addons span+span {margin-left: 9px;}


/* 内容 */
.text-content { font-size: 16px;line-height: 25px;min-height: 350px;text-align: justify;word-break: break-all;}
.text-content p {margin: 20px 0;}
.text-content p img {max-width: 700px;margin: -5px auto;display: block;}
.text-content a {font-size: 16px;color: #3E88BF; padding-left: 20px;margin: 0 3px;}
 </style>
</head>
<body style="background-color: #f2f2f2;">
    {include file="common/header"}
   
    <div class="layui-container" style="margin-top: 77px;">
      <div class="layui-row layui-col-space15">
        <div class="layui-col-md8">
        
            <div class="layui-card" style="">
                <div class="layui-card-body">
                <div class="article-content">
                    
                        <h2 class="text-title">{$publish.title}</h2>
                        <div class="text-addons">
                            
                            <span class="text-post-time">{$publish.create_time|date='Y-m-d'}发布</span>
                            <span class="text-read-num">已有{$publish.views}人浏览</span>
                            <hr>
                        </div>
                        
                        <div class="text-content">
                            {$publish.content|raw}
                        </div>
                
                    
                 </div>
                </div>
            </div>
        </div>
        
        <div class="layui-col-md4">

            <div class="layui-card">
                <div class="layui-card-header">公告列表</div>
                <div class="layui-card-body">
        	<ul>
          {volist name=":load_publish()" id="item"}
            <li><a href="{:url('wendasns/publish/show',['id'=>$item.id])}" style="{if $item.color}color: {$item.color};{/if}">{$item.title}</a><span style="float: right;">{$item.create_time|date='Y-m-d'}</span></li>
          {/volist}
        	</ul>
                </div>
              </div>
          
        </div>
      </div>
    </div>
    {include file="common/footer"}
    
</body>
</html>